/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.infor.entity.Rent;
import com.jeeplus.modules.infor.mapper.RentMapper;

/**
 * 仓租利润分析Service
 * @author 李超辉
 * @version 2018-09-27
 */
@Service
@Transactional(readOnly = true)
public class RentService extends CrudService<RentMapper, Rent> {

	public Rent get(String id) {
		return super.get(id);
	}
	
	public List<Rent> findList(Rent rent) {
		return super.findList(rent);
	}
	
	public Page<Rent> findPage(Page<Rent> page, Rent rent) {
		return super.findPage(page, rent);
	}
	
	@Transactional(readOnly = false)
	public void save(Rent rent) {
		super.save(rent);
	}
	
	@Transactional(readOnly = false)
	public void delete(Rent rent) {
		super.delete(rent);
	}
	
}